<?php /* Smarty version 2.6.16, created on 2007-05-16 14:28:26
         compiled from framework:Header%2BProfileHeader.tpl */

$this->_cache_serials['/home/.batly/roamzero/Framework/Site/Peopletab/Templates/Default/templates_c/c02ac98b94589947365f5cd2909ccf2eeed026d7^%%63^630^630D03A1%%framework%3AHeader%2BProfileHeader.tpl.inc'] = 'ee1f91028a58ac587ad0873e1baa279c';

?><?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'dynamic', 'framework:Header+ProfileHeader.tpl', 37, false),array('function', 'framework_component', 'framework:Header+ProfileHeader.tpl', 39, false),)), $this); ?>
<?php
function _smarty_tplfunc_ee1f91028a58ac587ad0873e1baa279c_0(&$_smarty)
{
$_smarty->_tag_stack[] = array('dynamic', array()); $_block_repeat=true;$_smarty->_plugins['block']['dynamic'][0][0]->smarty_block_dynamic($_smarty->_tag_stack[count($_smarty->_tag_stack)-1][1], null, $_smarty, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
<?php if ($_smarty->_tpl_vars['user']->userStatus == ANONYMOUS_USER_STATUS): ?>
<div id="loginNav"><span>[<a href="http://<?php echo $_smarty->_tpl_vars['site']->domain; ?>
">Home</a>] <?php echo smarty_function_framework_component(array('component' => 'OpenID'), $_smarty);?>
</span></div>
<?php elseif ($_smarty->_tpl_vars['user']->userStatus == NORMAL_USER_STATUS || $_smarty->_tpl_vars['user']->userStatus == OWNER_USER_STATUS): ?>
<div id="loginNav"><span>[<a href="http://<?php echo $_smarty->_tpl_vars['site']->domain; ?>
">Home</a>] <?php if ($_smarty->_tpl_vars['user']->idOwner): ?>[<a href="http://<?php echo $_smarty->_tpl_vars['user']->siteDomain; ?>
/<?php echo $_smarty->_tpl_vars['user']->userName; ?>
/CP">CP</a>]<?php endif; ?> Welcome, <?php echo $_smarty->_tpl_vars['user']->userName;  if ($_smarty->_tpl_vars['user']->siteDomain && ( $_smarty->_tpl_vars['user']->idOwner == null )): ?>@<?php echo $_smarty->_tpl_vars['user']->siteDomain;  endif; ?></span></div>
<?php else: ?>
<?php endif; ?>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo $_smarty->_plugins['block']['dynamic'][0][0]->smarty_block_dynamic($_smarty->_tag_stack[count($_smarty->_tag_stack)-1][1], $_block_content, $_smarty, $_block_repeat); }  array_pop($_smarty->_tag_stack); 
}


function _smarty_tplfunc_ee1f91028a58ac587ad0873e1baa279c_1(&$_smarty)
{
$_smarty->_tag_stack[] = array('dynamic', array()); $_block_repeat=true;$_smarty->_plugins['block']['dynamic'][0][0]->smarty_block_dynamic($_smarty->_tag_stack[count($_smarty->_tag_stack)-1][1], null, $_smarty, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
<?php echo smarty_function_framework_component(array('component' => 'UserNav'), $_smarty);?>

<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo $_smarty->_plugins['block']['dynamic'][0][0]->smarty_block_dynamic($_smarty->_tag_stack[count($_smarty->_tag_stack)-1][1], $_block_content, $_smarty, $_block_repeat); }  array_pop($_smarty->_tag_stack); 
}


function _smarty_tplfunc_ee1f91028a58ac587ad0873e1baa279c_2(&$_smarty)
{
$_smarty->_tag_stack[] = array('dynamic', array()); $_block_repeat=true;$_smarty->_plugins['block']['dynamic'][0][0]->smarty_block_dynamic($_smarty->_tag_stack[count($_smarty->_tag_stack)-1][1], null, $_smarty, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
<?php if ($_smarty->_tpl_vars['Header']['customHeader']): ?>
<div id="header"><img src="<?php echo $_smarty->_tpl_vars['filePath'];  echo $_smarty->_tpl_vars['Header']['customHeader']; ?>
"></img></div>
<?php else: ?>
<div id="header"><img src="<?php echo $_smarty->_tpl_vars['filePath']; ?>
/file/skins/<?php echo $_smarty->_tpl_vars['Header']['skinDir']; ?>
/images/header.jpg" width="100%"></img></div>
<?php endif; ?>

<div id="subHeader">
<div id="avatar">
<?php if ($_smarty->_tpl_vars['Header']['avatarURL']): ?>
<img src="<?php echo $_smarty->_tpl_vars['Header']['avatarURL']; ?>
" width="80px" height="80px"></img>
<?php else: ?>
<img src="<?php echo $_smarty->_tpl_vars['site']->installPath; ?>
/file/peopletab/image/avatar.gif" width="80px" height="80px"></img>
<?php endif; ?>
</div>
<h1>
<a href="<?php echo $_smarty->_tpl_vars['uriPath']; ?>
/<?php echo $_smarty->_tpl_vars['request']->ownerName; ?>
/Profile" id="ownerName"><?php echo $_smarty->_tpl_vars['request']->ownerName; ?>
</a>  

	<?php if ($_smarty->_tpl_vars['user']->userStatus != OWNER_USER_STATUS): ?>
	<?php if ($_smarty->_tpl_vars['user']->friendStatus == USER_FRIENDS_WITH_OWNER): ?>
	<span>(Friend)</span>
	<?php elseif ($_smarty->_tpl_vars['user']->friendStatus == USER_WATCHING_OWNER): ?>
	<span>(Watching)</span>
	<?php elseif ($_smarty->_tpl_vars['user']->friendStatus == USER_WATCHED_BY_OWNER): ?>
	<span>(Watched By)(<a href="<?php echo $_smarty->_tpl_vars['uriPath']; ?>
/<?php echo $_smarty->_tpl_vars['request']->ownerName; ?>
/User/Watch" id="watch" onClick = "Peopletab.watch('<?php echo $_smarty->_tpl_vars['user']->userName; ?>
@<?php echo $_smarty->_tpl_vars['user']->siteDomain; ?>
','<?php echo $_smarty->_tpl_vars['request']->ownerName; ?>
@<?php echo $_smarty->_tpl_vars['site']->domain; ?>
'); return false;">Watch</a>)</span>
	<?php elseif ($_smarty->_tpl_vars['user']->userStatus == NORMAL_USER_STATUS): ?>
	<span>(<a href="<?php echo $_smarty->_tpl_vars['uriPath']; ?>
/<?php echo $_smarty->_tpl_vars['request']->ownerName; ?>
/User/Watch/redirect?from=<?php echo $_smarty->_tpl_vars['request']->getHTTPPath(); ?>
" id="watch" onClick = "Peopletab.watch('<?php echo $_smarty->_tpl_vars['user']->userName; ?>
@<?php echo $_smarty->_tpl_vars['user']->siteDomain; ?>
','<?php echo $_smarty->_tpl_vars['request']->ownerName; ?>
@<?php echo $_smarty->_tpl_vars['site']->domain; ?>
'); return false;">Watch</a>)</span>
	<?php endif; ?>
<?php endif; ?>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo $_smarty->_plugins['block']['dynamic'][0][0]->smarty_block_dynamic($_smarty->_tag_stack[count($_smarty->_tag_stack)-1][1], $_block_content, $_smarty, $_block_repeat); }  array_pop($_smarty->_tag_stack); 
}


function _smarty_tplfunc_ee1f91028a58ac587ad0873e1baa279c_3(&$_smarty)
{
$_smarty->_tag_stack[] = array('dynamic', array()); $_block_repeat=true;$_smarty->_plugins['block']['dynamic'][0][0]->smarty_block_dynamic($_smarty->_tag_stack[count($_smarty->_tag_stack)-1][1], null, $_smarty, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
<?php echo smarty_function_framework_component(array('component' => 'OwnerNav'), $_smarty);?>

<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo $_smarty->_plugins['block']['dynamic'][0][0]->smarty_block_dynamic($_smarty->_tag_stack[count($_smarty->_tag_stack)-1][1], $_block_content, $_smarty, $_block_repeat); }  array_pop($_smarty->_tag_stack); 
}



?>
